package AntFarm;

import java.util.ArrayList;

public abstract class TileContent{

	protected Tile position;
	
	public TileContent(){}

	public void move(){};
	
	public void SetPositionTile(Tile tile)
	{
		this.position = tile;
	}
	
	public void accept(Ant element)throws MovedToOtherTileException, CantMoveToThisTileEception{}
	public void accept(AntBase element) throws MovedToOtherTileException, CantMoveToThisTileEception{}
	public void accept(AntEater element)throws MovedToOtherTileException, CantMoveToThisTileEception{}
	public void accept(AntEaterHole element)throws MovedToOtherTileException, CantMoveToThisTileEception{}
	public void accept(AntKillingPoison element)throws MovedToOtherTileException, CantMoveToThisTileEception{}
	public void accept(AntSmell antSmell)throws MovedToOtherTileException, CantMoveToThisTileEception{};
	public void accept(AntSmellNeutralizingPoison element)throws MovedToOtherTileException, CantMoveToThisTileEception{}
	public void accept(Barrier element)throws CantMoveToThisTileEception, CantMoveToThisTileEception{}
	public void accept(Food element)throws MovedToOtherTileException, CantMoveToThisTileEception{}
	public void accept(FoodInventory foodInventory)throws MovedToOtherTileException , CantMoveToThisTileEception{};
		
	public abstract void visit(TileContent tileContent) throws MovedToOtherTileException, CantMoveToThisTileEception;

	

	
}